<?php

$type = $_GET['type'];
if (strtolower($type) == 'list') {
    $this->pageTitle = t('cms', 'Manage Currency');
    $this->pageHint = t('cms', 'Here you can manage all Currency Settings');
    $this->widget('cmswidgets.shopping.CurrencyListWidget', array());
} else {
    $this->pageTitle = t('cms', 'Add new Currency');
    $this->pageHint = t('cms', 'Here you can create new Currency');
    $this->widget('cmswidgets.shopping.CurrencyCreateWidget', array());
}
?>